{% init show_path_list = False %}
{% init error = None %}
{% init is_iframe = False %}
{% init file = Storage(id = 0, parent_id=0) %}
{% init page = 0 %}
{% init show_create_option = True %}

<input id="fileId" type="hidden" value="{{file.id}}"/>

{% if show_path_list %}
    <div class="grid-title btn-line-height">
        <span>目录</span>
        <div class="float-right">
            {% if show_create_option %}
                <a class="btn" href="/note/create?parent_id={{parent_id}}">新建笔记</a>
            {% end %}
            {% include note/component/group_option.html %}
        </div>
    </div>

    {% include note/component/note_path.html %}

{% end %}

{% if error != "" and error != None%}
    <div class="col-md-12 error">
        {{error}}
    </div>
{% end %}

